package tests;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class InputFileGenerator {

	public static void main(String[] args) {
		try {
			File file = new File(args[0]);
			BufferedWriter writer = new BufferedWriter(new FileWriter(file)); 
			float y1 = 0.6f;
			writeComponent(writer, y1);
//			y1 = 0.5f;
//			writeComponent(writer, y1);
			writer.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	private static void writeComponent(BufferedWriter writer, float y1)
			throws IOException {
		String str = "6.000000E-01";
		writer.write("4.500000E-01 "+str+" 1.000000E-01"+"\n");
		writer.write("5.000000E-01 "+str+" 1.000000E-01"+"\n");
		writer.write("5.500000E-01 "+str+" 1.000000E-01"+"\n");
		writer.write("6.100000E-01 "+str+" 1.000000E-01"+"\n");
		writer.write("8.300000E-01 "+str+" 1.000000E-01"+"\n");
	}
}
